export default class Config {
  readonly BROADCAST_CONNECT_STATUS = {
    "normal": 1,
    "error": 2
  };

  /**
   * 广播设备类型
   * @var microphone 寻呼话筒
   * @var audioCollector 音频采播器
   * @var fireControlCollector 消防采集器
   * @var networkAudio 网络音响
   * @var networkPowerAmplifier 网络功放
   */
  readonly BROADCAST_DEVICE_TYPE = {
    "microphone": 1,
    "audioCollector": 2,
    "fireControlCollector": 3,
    "networkAudio": 4,
    "networkPowerAmplifier": 5
  };

  /**
   * 广播设备状态
   * @var offline 离线
   * @var online 在线
   * @var using 使用中
   */
  readonly BROADCAST_DEVICE_STATUS = {
    "offline": 0,
    "online": 1,
    "using": 2
  }

  /**
   * 监控设备状态
   * @var offline 离线
   * @var online 在线
   */
  readonly MONITOR_DEVICE_STATUS = {
    "offline": 0,
    "online": 1,
  }

  /**
   * 服务配置对应id
   * @var broadcast 广播
   * @var monitor 监控
   */
  readonly SERVICE_CONFIG_ID = {
    "broadcast": 1,
    "monitor": 2
  }
}
